package com.slkj.mapper;

import com.slkj.dto.CountiesTaskDTO;
import com.slkj.entity.CountiesDuty;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName CountiesDutyMapper.java
 * @Description TODO
 * @createTime 2020年03月20日 14:09:00
 */
@Mapper
public interface CountiesDutyMapper {
    void insert(CountiesDuty countiesDuty);

    List<CountiesTaskDTO> selectCountiesTaskDTO(String title, Date beginDate, Date endDate, String light, String username, String checkUnitUserId, String toCheckUnitUserId, String status);


    void updateSubmitTime(Date date, String dutyId);

    CountiesDuty selectByDutyId(String dutyId);

    void updateStatusById(String light, String status, String isPass, String perStatus, String dutyId);

    void updateCheck(String score, String completeCase, String auditIdea, String dutyId);

    void updateLightCase(String lightCause, String dutyId);
}
